package com.example.qaplatform.repository;

import com.example.qaplatform.entity.SpotEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Optional;

@Repository
public interface SpotRepository extends JpaRepository<SpotEntity, Long> {
    Optional<SpotEntity> findByName(String name);
    List<SpotEntity> findAll();
} 